home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Hyper / T / ToolKit 5.0.1.sit / ToolKit™ / ToolKit™ XCMDs / ToolKit™ XCMDs.rsrc / TEXT_18899_TKshowPICT.txt < prev    next >
Encoding:
Text File  |  1994-05-12  |  2.2 KB  |  67 lines

  1. TKshowPICT
  2.  
  3.       XCMD
  4.       No. 4403
  5.       Version:  5.0 (public domain)
  6.       Copyright ¬© 1990 - 1994 by Stan Gilbert
  7. _____________________________________________________
  8.  
  9. TKshowPICT provides the capability of using full color in HyperCard‚Ñ¢.  It can also be used for animation.
  10.  
  11.  
  12.  
  13.  
  14.                          ∂
  15. Examples
  16.  
  17. √ì√äTKshowPICT "myPict"
  18. ¬†¬†‚Ä∫TKshowPICT "myPict",20,50
  19. ¬†¬†‚Ä∫TKshowPICT "myPict",20,50,10,4
  20.  
  21.  
  22. Parameters
  23.  
  24. TKshowPICT "myPICTname",L,T,frames,delay,loop
  25.  
  26. Parameter 1
  27. pName:  name of 'PICT' resource
  28.  
  29. Parameter 2
  30. Left:  set the left location of the picture, Default is 0 (zero)
  31.  
  32. Parameter 3
  33. Top:  set the top location of the picture, Default is 0 (zero)
  34.  
  35. Parameter 4
  36. frames:  ‚ÅÑconsecutive limit of frames to animate.  This means you have a series of PICTs, each with the same name followed by a sequential number: myPICT1,myPICT2,mPICT3...  frames would represent the highest number in the sequence.
  37.  
  38. Parameter 5
  39. delay:  delay in 60ths of a second between frames
  40.  
  41. Parameter 6
  42. loop:  times to animate (ignore to loop until mouseDown)
  43.  
  44. NOTE: This is a change from earlier versions of TKshowPICT.  Left and TOP positioning are now Parameter 2 and Parameter 3.
  45.  
  46.  
  47. Related Topics
  48. __________________________________________________
  49.  
  50. √ì√äColor tutorial included with ToolKit‚Ñ¢ for a complete and detailed explanation of using color in your stacks, limitations, updating tricks, and many examples.
  51.  
  52.  
  53. More Information
  54.  
  55. Use:‚Ä∫TKshowPICT "myPict",20,50,10,4
  56.  
  57. Animates a series of PICTs named "myPict1" through "myPict10" with a 4 tick delay between each drawing until the mouse is clicked.
  58.  
  59. Use:‚Ä∫TKshowPICT "myPict",20,50,10,4,10
  60.  
  61. Same as above but stops after 10 animations.
  62.  
  63. √ì√äThis XCMD was originally created to do animation and provide some color capabilities.  TKshowPICT draws to the screen and not the card so ANY color in the PICT is displayed on an appropriate monitor.  The graphics is easily interrupted by buttons that have AutoHilite turned on, screen locking, scrolling fields, or any kind of dialog box that covers the screen.  Screen locking is an excellent way to "erase" the picture.  
  64.  
  65.  
  66. °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
  67.